CHECK FOR UNDERSTANDING: Here are a few questions about coding without a loop versus with a loop!
A for loop is a type of loop that runs a set of commands for a number of times specified by range().
This program has two sprites that do the same thing but one of them uses a for loop.
- Click Run to watch each robot draw a hexagon (a six sided shape).
- Answer the questions by clicking on the correct answer. Then click Submit and Next to move on.
To navigate the page using the TAB key, first press ESC to exit the code editor.